package com.jumi.microservice.dto.finance;

import com.jumi.microservice.common.base.dto.BaseResponse;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author by mazhao
 * @Classname GoodsSaleDetailResponse
 * @Description TODO
 * @Date 2020/9/16 15:45
 */
public class GoodsSaleDetailResponse extends BaseResponse {

    @ApiModelProperty("订单总金额")
    private BigDecimal sumOrderAmount;
    @ApiModelProperty("商品销售明细列表")
    private List<GoodsDetail> rows;

    private Long total;

    public BigDecimal getSumOrderAmount() {
        return sumOrderAmount;
    }

    public void setSumOrderAmount(BigDecimal sumOrderAmount) {
        this.sumOrderAmount = sumOrderAmount;
    }

    public List<GoodsDetail> getRows() {
        return rows;
    }

    public void setRows(List<GoodsDetail> rows) {
        this.rows = rows;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}
